package edu.whut.mall.user.service;

import edu.whut.mall.user.dto.UserDto;
import edu.whut.mall.user.vo.UserVo;

/**
 * @Author smq
 * @Date 2021/8/17 20:27
 * @Uint d9lab
 * @Description:
 */
public interface IUserService {
    /**
     * 注册
     * @param user
     */
    UserVo register(UserDto user);

    /**
     * 通过邮箱获得用户信息
     * @param email
     * @return
     */
    UserVo getByEmail(String email);
}
